PID controllers
One general purpose PID controllers is provided as shown in the diagram below. The sample rate for the PID controllers is always 4ms.